package com.hezhiqin.springbootfirst.firstdemo;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @program: homeWork
 * @description:
 * @author: hezhiqin
 * @create: 2020-01-13 15:00
 */
@Configuration
public class ConfigurationDemo {

    @Bean
    public  Demo demo(){
        return new Demo();
    }
}
